diff options
| author | Kit La Touche <kit@transneptune.net> | 2024-10-09 15:32:52 -0400 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2024-10-09 15:32:52 -0400 |
| commit | bd53a51af835478d23bef4772ce7e50553dc3fdf (patch) | |
| tree | 3f190a47b9f704c412d0ff684b959abf003b8e5b /hi-ui/src/routes/(app)/ch/[channel]/+page.js | |
| parent | dd62b823e01934a0f841256fdb17b551091896bf (diff) | |
Move a lot of things around
Diffstat (limited to 'hi-ui/src/routes/(app)/ch/[channel]/+page.js')
| -rw-r--r-- | hi-ui/src/routes/(app)/ch/[channel]/+page.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/hi-ui/src/routes/(app)/ch/[channel]/+page.js b/hi-ui/src/routes/(app)/ch/[channel]/+page.js new file mode 100644 index 0000000..5fd493a --- /dev/null +++ b/hi-ui/src/routes/(app)/ch/[channel]/+page.js @@ -0,0 +1,13 @@ +export const ssr = false; + +import { activeChannel } from '$lib/store'; + + +/** @type {import('./$types').PageLoad} */ +export function load({ params }) { + let { channel } = params; + activeChannel.update((value) => { + value.set(channel) + return value; + }); +} |
